import request from '@/common/js/request.js';

export default {
// 红娘+++++++++++++++++
	// 列表
	gethongniangList(data){
		return request({
			url: '/hongniang/getList',
			method: 'GET',
			data:data,
			isLogin: false
		});
	},
	
	// 用户列表
	getMyUsersList(data){
		return request({
			url: '/hongniang/getMyUsersList',
			method: 'GET',
			data:data,
			isLogin:true
		});
	},
	
	// 查询男 女全部匹配用户 
	getSexList(data){
		return request({
			url: '/hongniang/getSexList',
			method: 'GET',
			data:data,
			isLogin:true
		});
	},
	
	// 保存匹配用户
	savePiuser(data){
		return request({
			url: '/hongniang/savePiuser',
			method: 'POST',
			data,
			isLogin:true
		});
	},
	
	// 下拉用户
	getUsersxl(data){
		return request({
			url: '/hongniang/getUsersxl',
			method: 'GET',
			data:data,
			isLogin:true
		});
	},
	
	//红娘详情
	hongniangInfo(data){
		return request({
			url: '/hongniang/hongniangInfo',
			method: 'GET',
			data:data,
			isLogin:true
		});
	},
	
	
	// 保存银行卡
	setBank(data){
		return request({
			url: '/hongniang/setBank',
			method: 'POST',
			data,
			isLogin:true
		});
	},
	
	//获取红娘银行卡
	getBank(){
		return request({
			url: '/hongniang/getBank',
			method: 'GET',
			isLogin:true
		});
	},
	
	// 提交提现
	cash(data){
		return request({
			url: '/hongniang/cash',
			method: 'POST',
			data,
			isLogin:true
		});
	},
	
	//提现记录
	getRecord(){
		return request({
			url: '/hongniang/getRecord',
			method: 'GET',
			isLogin:true
		});
	},
	
	
	
	
	

	
	
	
	
	
	
	
	
	
	
	
	
	

	

};
